package com.sit.library.service;

import com.sit.library.entity.bean.Book;
import com.sit.library.entity.vo.response.BorrowRecordVO;

import java.util.List;

public interface UserService {
    List<Book> getBooks();
    List<Book> getBooksByTitle(String title);
    String borrowBook(String token, int bookId);
    String returnBook(String token, int recordId);
    List<BorrowRecordVO> getBorrowRecords(String token);
}
